package guda.stark.dal.dao;

import guda.stark.dal.dataobject.ParkingDO;
import guda.grape.autogen.common.page.BaseQuery;
import java.util.List;

public interface ParkingDAO {


    Long insert(ParkingDO parking);


    ParkingDO getParkingById(Long parkingId);


    boolean delParkingById(Long parkingId);

    List<ParkingDO> getParkingByIds(List idsList);

    /**
     * 清空测试用例加入的autoincrement
     */
    void cleanAutoIncrement(Long parkingId);

    List<ParkingDO> selectForPage(BaseQuery baseQuery);

    int countForPage(BaseQuery baseQuery);

    void updateByIdSelective(ParkingDO parking);

}
